<?php

namespace Module\DyAi\Admin\Controller;

use Illuminate\Routing\Controller;
use ModStart\Admin\Layout\AdminConfigBuilder;

class ConfigController extends Controller
{
    public function index(AdminConfigBuilder $builder)
    {
        $builder->pageTitle('当游网ai助手设置');
        $builder->text('DyAi_Title', '当游网ai助手标题')->help('默认为 当游网ai助手');
        $builder->text('DyAi_SubTitle', '当游网ai助手副标题')->help('默认为 提供有价值的当游网ai助手');
        $builder->image('DyAi_Background', '页面顶部背景图')->help('默认为系统主色调渐变色背景');
        $builder->textarea('DyAi_filterword', '过滤词');
        $builder->textarea('DyAi_noword', '禁用词');
        $builder->textarea('DyAi_keywordA', '关键词A区');
        $builder->textarea('DyAi_keywordB', '关键词B区');
        $builder->textarea('DyAi_keywordC', '关键词C区');
        $builder->textarea('DyAi_keywordD', '关键词D区');
        /*$builder->textarea('DyAi_keywordE', '关键词E区');
        $builder->textarea('DyAi_keywordF', '关键词F区');
        $builder->textarea('DyAi_keywordG', '关键词G区');
        $builder->textarea('DyAi_keywordH', '关键词H区');
        $builder->textarea('DyAi_keywordI', '关键词I区');*/
        $builder->formClass('wide');
        return $builder->perform();
    }

}
